home *** CD-ROM | disk | FTP | other *** search
Unknown | 1992-09-18 | 8.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 0b de c4 00 00 00 64 | 00 00 02 ee 00 00 02 c4 |.......d|........|
|00000010| 00 00 20 ac 00 00 00 00 | 00 00 00 00 00 00 00 00 |.. .....|........|
|00000020| 00 40 0a 00 00 00 ff ff | 00 00 00 00 00 00 00 00 |.@......|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 c4 00 00 | 00 00 04 0b 74 79 70 65 |........|....type|
|00000210| 64 73 74 72 65 61 6d 81 | 03 a2 84 01 40 84 84 84 |dstream.|....@...|
|00000220| 08 44 6f 63 75 6d 65 6e | 74 01 84 84 05 41 63 74 |.Documen|t....Act|
|00000230| 6f 72 00 84 84 06 4f 62 | 6a 65 63 74 00 85 84 02 |or....Ob|ject....|
|00000240| 69 73 00 81 80 04 92 85 | 84 01 73 00 84 05 5b 31 |is......|..s...[1|
|00000250| 30 63 5d 00 00 00 00 00 | 00 00 00 00 00 84 02 40 |0c].....|.......@|
|00000260| 40 84 84 84 0b 49 6e 74 | 41 74 6f 6d 4c 69 73 74 |@....Int|AtomList|
|00000270| 01 84 84 07 53 74 6f 72 | 61 67 65 01 95 84 03 25 |....Stor|age....%|
|00000280| 69 69 84 04 7b 69 25 7d | 08 01 84 07 5b 31 7b 69 |ii..{i%}|....[1{i|
|00000290| 25 7d 5d 82 00 00 98 f6 | 85 86 84 97 9c 9d 08 01 |%}].....|........|
|000002a0| 9e 82 00 00 a1 77 85 86 | 99 84 97 9c 9d 08 00 86 |.....w..|........|
|000002b0| 84 97 9c 9d 08 05 84 07 | 5b 35 7b 69 25 7d 5d 01 |........|[5{i%}].|
|000002c0| 84 06 53 74 00 00 00 00 | 00 2a 00 00 00 18 00 00 |..St....|.*......|
|000002d0| 01 3b 00 00 00 02 00 00 | 02 00 00 00 00 c4 00 00 |.;......|........|
|000002e0| 03 85 00 00 00 77 00 00 | 00 00 00 00 00 00 00 00 |.....w..|........|
|000002f0| 00 00 00 97 00 00 00 8d | 04 0b 74 79 70 65 64 73 |........|..typeds|
|00000300| 74 72 65 61 6d 81 03 a2 | 84 01 40 84 84 84 0b 4f |tream...|..@....O|
|00000310| 62 6a 65 63 74 53 74 6f | 72 65 00 84 84 06 4f 62 |bjectSto|re....Ob|
|00000320| 6a 65 63 74 00 85 92 84 | 84 84 09 48 61 73 68 54 |ject....|...HashT|
|00000330| 61 62 6c 65 01 94 84 03 | 69 25 25 03 84 01 69 97 |able....|i%%...i.|
|00000340| 97 81 59 17 97 81 05 a0 | 97 81 16 50 97 00 97 ff |..Y.....|...P....|
|00000350| 97 81 03 fc 86 84 02 73 | 69 81 30 00 00 84 03 73 |.......s|i.0....s|
|00000360| 73 40 00 00 84 84 84 07 | 49 6e 74 4c 69 73 74 01 |s@......|IntList.|
|00000370| 84 84 04 4c 69 73 74 01 | 94 97 00 97 00 84 04 5b |...List.|.......[|
|00000380| 30 69 5d 86 86 00 00 00 | 00 00 77 00 00 00 00 00 |0i].....|..w.....|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 cb 00 00 00 | 00 04 0b 74 79 70 65 64 |........|...typed|
|000003b0| 73 74 72 65 61 6d 81 03 | a2 84 01 40 84 84 84 0a |stream..|...@....|
|000003c0| 53 63 72 69 70 74 54 65 | 78 74 00 84 84 06 4f 62 |ScriptTe|xt....Ob|
|000003d0| 6a 65 63 74 00 85 84 02 | 69 69 81 59 17 81 00 81 |ject....|ii.Y....|
|000003e0| 84 06 5b 31 32 39 63 5d | 66 75 6e 63 74 69 6f 6e |..[129c]|function|
|000003f0| 20 67 72 6f 75 70 42 6f | 78 20 20 20 00 00 00 00 | groupBo|x ....|
|00000400| 01 a4 00 00 01 80 04 0b | 74 79 70 65 64 73 74 72 |........|typedstr|
|00000410| 65 61 6d 81 03 a2 84 01 | 40 84 84 84 08 44 6f 63 |eam.....|@....Doc|
|00000420| 75 6d 65 6e 74 01 84 84 | 05 41 63 74 6f 72 00 84 |ument...|.Actor..|
|00000430| 84 06 4f 62 6a 65 63 74 | 00 85 84 02 69 73 00 81 |..Object|....is..|
|00000440| 80 05 92 84 84 84 06 53 | 63 72 69 70 74 00 95 92 |.......S|cript...|
|00000450| 92 84 01 69 81 59 17 92 | 84 84 84 09 48 61 73 68 |...i.Y..|....Hash|
|00000460| 54 61 62 6c 65 01 95 84 | 03 69 25 25 05 84 01 25 |Table...|.i%%...%|
|00000470| 98 9b 84 09 6d 6f 75 73 | 65 64 6f 77 6e 98 81 00 |....mous|edown...|
|00000480| 8c 9b 84 0c 4d 41 4b 45 | 47 52 4f 55 50 42 4f 58 |....MAKE|GROUPBOX|
|00000490| 98 81 09 03 9b 84 0d 6d | 61 74 72 69 78 68 61 6e |.......m|atrixhan|
|000004a0| 64 6c 65 72 98 81 14 95 | 9b 84 12 4e 45 57 4d 41 |dler....|...NEWMA|
|000004b0| 54 52 49 58 4f 46 42 55 | 54 54 4f 4e 53 98 81 0c |TRIXOFBU|TTONS...|
|000004c0| 38 9b 84 0c 6d 6f 75 73 | 65 64 72 61 67 67 65 64 |8...mous|edragged|
|000004d0| 98 81 02 3b 86 86 92 85 | 84 01 73 00 84 05 5b 31 |...;....|..s...[1|
|000004e0| 30 63 5d 00 00 00 00 00 | 00 00 00 00 00 84 02 40 |0c].....|.......@|
|000004f0| 40 84 84 84 0b 49 6e 74 | 41 74 6f 6d 4c 69 73 74 |@....Int|AtomList|
|00000500| 01 84 84 07 53 74 6f 72 | 61 67 65 01 95 84 03 25 |....Stor|age....%|
|00000510| 69 69 84 04 7b 69 25 7d | 08 01 84 07 5b 31 7b 69 |ii..{i%}|....[1{i|
|00000520| 25 7d 5d 82 00 00 98 f6 | 85 86 84 9b a6 a7 08 01 |%}].....|........|
|00000530| a8 82 00 00 a1 77 85 86 | a3 84 9b a6 a7 08 00 86 |.....w..|........|
|00000540| 84 9b a6 a7 08 05 84 07 | 5b 35 7b 69 25 7d 5d 01 |........|[5{i%}].|
|00000550| 84 06 53 74 61 63 6b 73 | 02 84 0c 57 69 6e 64 6f |..Stacks|...Windo|
|00000560| 77 46 72 61 6d 65 73 03 | 84 06 49 6d 61 67 65 73 |wFrames.|..Images|
|00000570| 04 84 06 53 6f 75 6e 64 | 73 05 84 08 58 4d 6f 64 |...Sound|s...XMod|
|00000580| 75 6c 65 73 86 86 86 86 | 65 73 04 84 06 53 6f 75 |ules....|es...Sou|
|00000590| 6e 64 73 05 84 08 58 4d | 6f 64 75 6c 65 73 86 86 |nds...XM|odules..|
|000005a0| 00 00 00 00 1b 0c 00 00 | 1a e8 04 0b 74 79 70 65 |........|....type|
|000005b0| 64 73 74 72 65 61 6d 81 | 03 a2 84 01 40 84 84 84 |dstream.|....@...|
|000005c0| 0a 53 63 72 69 70 74 54 | 65 78 74 00 84 84 06 4f |.ScriptT|ext....O|
|000005d0| 62 6a 65 63 74 00 85 84 | 02 69 69 81 59 17 81 1a |bject...|.ii.Y...|
|000005e0| a7 84 07 5b 36 38 32 33 | 63 5d 2d 2d 2d 0a 2d 2d |...[6823|c]---.--|
|000005f0| 20 43 6f 70 79 72 69 67 | 68 74 20 31 39 39 32 20 | Copyrig|ht 1992 |
|00000600| e3 20 43 75 62 65 54 61 | 6c 6b 20 4a 6f 75 72 6e |. CubeTa|lk Journ|
|00000610| 61 6c 2e 20 20 41 6c 6c | 20 52 69 67 68 74 73 20 |al. All| Rights |
|00000620| 52 65 73 65 72 76 65 64 | 0a 2d 2d 0a 2d 2d 20 43 |Reserved|.--.-- C|
|00000630| 72 65 61 74 65 64 3a 20 | 4d 6f 6e 20 53 65 70 20 |reated: |Mon Sep |
|00000640| 31 34 20 32 33 3a 35 31 | 3a 32 30 20 4d 44 54 20 |14 23:51|:20 MDT |
|00000650| 31 39 39 32 0a 2d 2d 20 | 62 79 20 54 6f 64 64 20 |1992.-- |by Todd |
|00000660| 41 2e 20 4e 61 74 68 61 | 6e 20 20 28 54 41 4e 29 |A. Natha|n (TAN)|
|00000670| 0a 2d 2d 2d 0a 6f 6e 20 | 6d 6f 75 73 65 44 6f 77 |.---.on |mouseDow|
|00000680| 6e 0a 20 20 20 0a 20 20 | 20 69 66 20 74 68 65 20 |n. . | if the |
|00000690| 61 6c 74 65 72 6e 61 74 | 65 4b 65 79 20 69 73 20 |alternat|eKey is |
|000006a0| 44 4f 57 4e 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |DOWN the|n. |
|000006b0| 70 75 74 20 54 52 55 45 | 20 69 6e 74 6f 20 76 61 |put TRUE| into va|
|000006c0| 72 20 6d 6f 76 65 49 74 | 42 75 73 74 65 72 20 6f |r moveIt|Buster o|
|000006d0| 66 20 74 61 72 67 65 74 | 0a 20 20 20 20 20 20 70 |f target|. p|
|000006e0| 75 74 20 63 6c 69 63 6b | 4c 6f 63 28 29 20 69 6e |ut click|Loc() in|
|000006f0| 74 6f 20 74 68 65 43 6c | 69 63 6b 4c 6f 63 0a 20 |to theCl|ickLoc. |
|00000700| 20 20 20 20 20 70 75 74 | 20 28 20 69 74 65 6d 20 | put| ( item |
|00000710| 31 20 6f 66 20 74 68 65 | 43 6c 69 63 6b 4c 6f 63 |1 of the|ClickLoc|
|00000720| 20 29 20 2d 20 28 20 69 | 74 65 6d 20 31 20 6f 66 | ) - ( i|tem 1 of|
|00000730| 20 6c 6f 63 20 6f 66 20 | 74 61 72 67 65 74 20 29 | loc of |target )|
|00000740| 20 69 6e 74 6f 20 76 61 | 72 20 78 4f 66 66 73 65 | into va|r xOffse|
|00000750| 74 20 6f 66 20 74 61 72 | 67 65 74 0a 20 20 20 20 |t of tar|get. |
|00000760| 20 20 70 75 74 20 28 20 | 69 74 65 6d 20 32 20 6f | put ( |item 2 o|
|00000770| 66 20 74 68 65 43 6c 69 | 63 6b 4c 6f 63 20 29 20 |f theCli|ckLoc ) |
|00000780| 2d 20 28 20 69 74 65 6d | 20 32 20 6f 66 20 6c 6f |- ( item| 2 of lo|
|00000790| 63 20 6f 66 20 74 61 72 | 67 65 74 20 29 20 69 6e |c of tar|get ) in|
|000007a0| 74 6f 20 76 61 72 20 79 | 4f 66 66 73 65 74 20 6f |to var y|Offset o|
|000007b0| 66 20 74 61 72 67 65 74 | 0a 20 20 20 65 6c 73 65 |f target|. else|
|000007c0| 0a 20 20 20 20 20 20 70 | 75 74 20 46 41 4c 53 45 |. p|ut FALSE|
|000007d0| 20 69 6e 74 6f 20 76 61 | 72 20 6d 6f 76 65 49 74 | into va|r moveIt|
|000007e0| 42 75 73 74 65 72 20 6f | 66 20 74 61 72 67 65 74 |Buster o|f target|
|000007f0| 0a 20 20 20 20 20 20 70 | 61 73 73 20 6d 6f 75 73 |. p|ass mous|
|00000800| 65 44 6f 77 6e 0a 20 20 | 20 65 6e 64 20 69 66 0a |eDown. | end if.|
|00000810| 20 20 20 0a 65 6e 64 20 | 6d 6f 75 73 65 44 6f 77 | .end |mouseDow|
|00000820| 6e 0a 0a 0a 6f 6e 20 6d | 6f 75 73 65 44 72 61 67 |n...on m|ouseDrag|
|00000830| 67 65 64 0a 20 20 20 0a | 20 20 20 69 66 20 28 20 |ged. .| if ( |
|00000840| 76 61 72 20 6d 6f 76 65 | 49 74 42 75 73 74 65 72 |var move|ItBuster|
|00000850| 20 6f 66 20 74 61 72 67 | 65 74 20 29 20 3d 20 54 | of targ|et ) = T|
|00000860| 52 55 45 20 74 68 65 6e | 0a 20 20 20 20 20 20 70 |RUE then|. p|
|00000870| 75 74 20 6d 6f 75 73 65 | 4c 6f 63 28 29 20 69 6e |ut mouse|Loc() in|
|00000880| 74 6f 20 74 68 65 4d 6f | 75 73 65 4c 6f 63 0a 20 |to theMo|useLoc. |
|00000890| 20 20 20 20 20 69 66 20 | 74 68 65 20 73 68 69 66 | if |the shif|
|000008a0| 74 4b 65 79 20 69 73 20 | 44 4f 57 4e 20 74 68 65 |tKey is |DOWN the|
|000008b0| 6e 0a 20 20 20 20 20 20 | 20 20 20 69 66 20 76 61 |n. | if va|
|000008c0| 72 20 74 68 65 4c 61 73 | 74 54 69 6d 65 54 68 65 |r theLas|tTimeThe|
|000008d0| 53 68 69 66 74 4b 65 79 | 57 61 73 44 6f 77 6e 20 |ShiftKey|WasDown |
|000008e0| 6f 66 20 74 61 72 67 65 | 74 20 3d 20 54 52 55 45 |of targe|t = TRUE|
|000008f0| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 20 20 | then. | |
|00000900| 20 20 69 66 20 76 61 72 | 20 74 68 65 43 6f 6e 73 | if var| theCons|
|00000910| 74 72 61 69 6e 74 44 69 | 72 65 63 74 69 6f 6e 20 |traintDi|rection |
|00000920| 6f 66 20 74 61 72 67 65 | 74 20 3d 20 22 48 6f 72 |of targe|t = "Hor|
|00000930| 7a 22 20 74 68 65 6e 0a | 20 20 20 20 20 20 20 20 |z" then.| |
|00000940| 20 20 20 20 20 20 20 70 | 75 74 20 76 61 72 20 68 | p|ut var h|
|00000950| 6f 72 7a 43 6f 6e 74 72 | 61 69 6e 74 56 61 6c 75 |orzContr|aintValu|
|00000960| 65 20 6f 66 20 74 61 72 | 67 65 74 20 69 6e 74 6f |e of tar|get into|
|00000970| 20 69 74 65 6d 20 31 20 | 6f 66 20 74 68 65 4d 6f | item 1 |of theMo|
|00000980| 75 73 65 4c 6f 63 0a 20 | 20 20 20 20 20 20 20 20 |useLoc. | |
|00000990| 20 20 20 65 6c 73 65 0a | 20 20 20 20 20 20 20 20 | else.| |
|000009a0| 20 20 20 20 20 20 20 70 | 75 74 20 76 61 72 20 76 | p|ut var v|
|000009b0| 65 72 74 43 6f 6e 74 72 | 61 69 6e 74 56 61 6c 75 |ertContr|aintValu|
|000009c0| 65 20 6f 66 20 74 61 72 | 67 65 74 20 69 6e 74 6f |e of tar|get into|
|000009d0| 20 69 74 65 6d 20 32 20 | 6f 66 20 74 68 65 4d 6f | item 2 |of theMo|
|000009e0| 75 73 65 4c 6f 63 0a 20 | 20 20 20 20 20 20 20 20 |useLoc. | |
|000009f0| 20 20 20 65 6e 64 20 69 | 66 0a 20 20 20 20 20 20 | end i|f. |
|00000a00| 20 20 20 20 20 20 73 75 | 62 74 72 61 63 74 20 76 | su|btract v|
|00000a10| 61 72 20 78 4f 66 66 73 | 65 74 20 6f 66 20 74 61 |ar xOffs|et of ta|
|00000a20| 72 67 65 74 20 66 72 6f | 6d 20 69 74 65 6d 20 31 |rget fro|m item 1|
|00000a30| 20 6f 66 20 74 68 65 4d | 6f 75 73 65 4c 6f 63 0a | of theM|ouseLoc.|
|00000a40| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 75 62 74 | | subt|
|00000a50| 72 61 63 74 20 76 61 72 | 20 79 4f 66 66 73 65 74 |ract var| yOffset|
|00000a60| 20 6f 66 20 74 61 72 67 | 65 74 20 66 72 6f 6d 20 | of targ|et from |
|00000a70| 69 74 65 6d 20 32 20 6f | 66 20 74 68 65 4d 6f 75 |item 2 o|f theMou|
|00000a80| 73 65 4c 6f 63 0a 20 20 | 20 20 20 20 20 20 20 65 |seLoc. | e|
|00000a90| 6c 73 65 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |lse. | |
|00000aa0| 77 61 69 74 20 31 35 0a | 20 20 20 20 20 20 20 20 |wait 15.| |
|00000ab0| 20 20 20 20 70 75 74 20 | 61 62 73 28 28 69 74 65 | put |abs((ite|
|00000ac0| 6d 20 31 20 6f 66 20 76 | 61 72 20 6c 61 73 74 4d |m 1 of v|ar lastM|
|00000ad0| 6f 75 73 65 4c 6f 63 20 | 6f 66 20 74 61 72 67 65 |ouseLoc |of targe|
|00000ae0| 74 29 20 2d 20 28 69 74 | 65 6d 20 31 20 6f 66 20 |t) - (it|em 1 of |
|00000af0| 6d 6f 75 73 65 4c 6f 63 | 28 29 29 29 20 69 6e 74 |mouseLoc|())) int|
|00000b00| 6f 20 76 61 72 20 68 6f | 72 7a 43 6f 6e 74 72 61 |o var ho|rzContra|
|00000b10| 69 6e 74 56 61 6c 75 65 | 20 6f 66 20 74 61 72 67 |intValue| of targ|
|00000b20| 65 74 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 70 |et. | p|
|00000b30| 75 74 20 61 62 73 28 28 | 69 74 65 6d 20 32 20 6f |ut abs((|item 2 o|
|00000b40| 66 20 76 61 72 20 6c 61 | 73 74 4d 6f 75 73 65 4c |f var la|stMouseL|
|00000b50| 6f 63 20 6f 66 20 74 61 | 72 67 65 74 29 20 2d 20 |oc of ta|rget) - |
|00000b60| 28 69 74 65 6d 20 32 20 | 6f 66 20 6d 6f 75 73 65 |(item 2 |of mouse|
|00000b70| 4c 6f 63 28 29 29 29 20 | 69 6e 74 6f 20 76 61 72 |Loc())) |into var|
|00000b80| 20 76 65 72 74 43 6f 6e | 74 72 61 69 6e 74 56 61 | vertCon|traintVa|
|00000b90| 6c 75 65 20 6f 66 20 74 | 61 72 67 65 74 0a 20 20 |lue of t|arget. |
|00000ba0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 76 61 72 | | if var|
|00000bb0| 20 68 6f 72 7a 43 6f 6e | 74 72 61 69 6e 74 56 61 | horzCon|traintVa|
|00000bc0| 6c 75 65 20 6f 66 20 74 | 61 72 67 65 74 20 3e 3d |lue of t|arget >=|
|00000bd0| 20 76 61 72 20 76 65 72 | 74 43 6f 6e 74 72 61 69 | var ver|tContrai|
|00000be0| 6e 74 56 61 6c 75 65 20 | 6f 66 20 74 61 72 67 65 |ntValue |of targe|
|00000bf0| 74 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 20 |t then. | |
|00000c00| 20 20 20 20 20 20 70 75 | 74 20 22 48 6f 72 7a 22 | pu|t "Horz"|
|00000c10| 20 69 6e 74 6f 20 76 61 | 72 20 74 68 65 43 6f 6e | into va|r theCon|
|00000c20| 73 74 72 61 69 6e 74 44 | 69 72 65 63 74 69 6f 6e |straintD|irection|
|00000c30| 20 6f 66 20 74 61 72 67 | 65 74 0a 20 20 20 20 20 | of targ|et. |
|00000c40| 20 20 20 20 20 20 20 65 | 6c 73 65 0a 20 20 20 20 | e|lse. |
|00000c50| 20 20 20 20 20 20 20 20 | 20 20 20 70 75 74 20 22 | | put "|
|00000c60| 56 65 72 74 22 20 69 6e | 74 6f 20 76 61 72 20 74 |Vert" in|to var t|
|00000c70| 68 65 43 6f 6e 73 74 72 | 61 69 6e 74 44 69 72 65 |heConstr|aintDire|
|00000c80| 63 74 69 6f 6e 20 6f 66 | 20 74 61 72 67 65 74 0a |ction of| target.|
|00000c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 6e 64 20 | | end |
|00000ca0| 69 66 0a 20 20 20 20 20 | 20 20 20 20 65 6e 64 20 |if. | end |
|00000cb0| 69 66 0a 20 20 20 20 20 | 20 65 6c 73 65 0a 20 20 |if. | else. |
|00000cc0| 20 20 20 20 20 20 20 73 | 75 62 74 72 61 63 74 20 | s|ubtract |
|00000cd0| 76 61 72 20 78 4f 66 66 | 73 65 74 20 6f 66 20 74 |var xOff|set of t|
|00000ce0| 61 72 67 65 74 20 66 72 | 6f 6d 20 69 74 65 6d 20 |arget fr|om item |
|00000cf0| 31 20 6f 66 20 74 68 65 | 4d 6f 75 73 65 4c 6f 63 |1 of the|MouseLoc|
|00000d00| 0a 20 20 20 20 20 20 20 | 20 20 73 75 62 74 72 61 |. | subtra|
|00000d10| 63 74 20 76 61 72 20 79 | 4f 66 66 73 65 74 20 6f |ct var y|Offset o|
|00000d20| 66 20 74 61 72 67 65 74 | 20 66 72 6f 6d 20 69 74 |f target| from it|
|00000d30| 65 6d 20 32 20 6f 66 20 | 74 68 65 4d 6f 75 73 65 |em 2 of |theMouse|
|00000d40| 4c 6f 63 0a 20 20 20 20 | 20 20 65 6e 64 20 69 66 |Loc. | end if|
|00000d50| 0a 20 20 20 20 20 20 0a | 20 20 20 20 20 20 73 65 |. .| se|
|00000d60| 74 20 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 74 61 |t locati|on of ta|
|00000d70| 72 67 65 74 20 74 6f 20 | 74 68 65 4d 6f 75 73 65 |rget to |theMouse|
|00000d80| 4c 6f 63 0a 20 20 20 20 | 20 20 0a 20 20 20 20 20 |Loc. | . |
|00000d90| 20 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 6c | put ite|m 1 of l|
|00000da0| 6f 63 61 74 69 6f 6e 20 | 6f 66 20 74 61 72 67 65 |ocation |of targe|
|00000db0| 74 20 69 6e 74 6f 20 62 | 6f 78 48 6f 72 7a 4d 69 |t into b|oxHorzMi|
|00000dc0| 64 64 6c 65 0a 20 20 20 | 20 20 20 70 75 74 20 74 |ddle. | put t|
|00000dd0| 6f 70 20 6f 66 20 74 61 | 72 67 65 74 20 69 6e 74 |op of ta|rget int|
|00000de0| 6f 20 62 6f 78 54 6f 70 | 0a 20 20 20 20 20 20 73 |o boxTop|. s|
|00000df0| 65 74 20 74 68 65 20 6c | 6f 63 61 74 69 6f 6e 20 |et the l|ocation |
|00000e00| 6f 66 20 62 75 74 74 6f | 6e 20 73 68 6f 72 74 20 |of butto|n short |
|00000e10| 6e 61 6d 65 20 6f 66 20 | 74 61 72 67 65 74 20 74 |name of |target t|
|00000e20| 6f 20 62 6f 78 48 6f 72 | 7a 4d 69 64 64 6c 65 2c |o boxHor|zMiddle,|
|00000e30| 20 62 6f 78 54 6f 70 0a | 20 20 20 20 20 20 0a 20 | boxTop.| . |
|00000e40| 20 20 20 20 20 70 75 74 | 20 73 68 69 66 74 4b 65 | put| shiftKe|
|00000e50| 79 20 69 73 20 44 4f 57 | 4e 20 69 6e 74 6f 20 76 |y is DOW|N into v|
|00000e60| 61 72 20 74 68 65 4c 61 | 73 74 54 69 6d 65 54 68 |ar theLa|stTimeTh|
|00000e70| 65 53 68 69 66 74 4b 65 | 79 57 61 73 44 6f 77 6e |eShiftKe|yWasDown|
|00000e80| 20 6f 66 20 74 61 72 67 | 65 74 0a 20 20 20 20 20 | of targ|et. |
|00000e90| 20 70 75 74 20 6d 6f 75 | 73 65 4c 6f 63 28 29 20 | put mou|seLoc() |
|00000ea0| 69 6e 74 6f 20 76 61 72 | 20 74 68 65 4c 61 73 74 |into var| theLast|
|00000eb0| 4d 6f 75 73 65 4c 6f 63 | 20 6f 66 20 74 61 72 67 |MouseLoc| of targ|
|00000ec0| 65 74 0a 20 20 20 20 20 | 20 0a 20 20 20 65 6e 64 |et. | . end|
|00000ed0| 20 69 66 0a 20 20 20 0a | 65 6e 64 20 6d 6f 75 73 | if. .|end mous|
|00000ee0| 65 44 72 61 67 67 65 64 | 0a 0a 0a 0a 66 75 6e 63 |eDragged|....func|
|00000ef0| 74 69 6f 6e 20 6d 61 6b | 65 47 72 6f 75 70 42 6f |tion mak|eGroupBo|
|00000f00| 78 0a 20 20 20 0a 20 20 | 20 61 73 6b 20 22 50 6c |x. . | ask "Pl|
|00000f10| 65 61 73 65 20 65 6e 74 | 65 72 20 74 68 65 20 62 |ease ent|er the b|
|00000f20| 6f 75 6e 64 69 6e 67 20 | 62 6f 78 20 74 69 74 6c |ounding |box titl|
|00000f30| 65 22 0a 20 20 20 69 66 | 20 69 74 20 69 73 20 45 |e". if| it is E|
|00000f40| 4d 50 54 59 20 74 68 65 | 6e 20 65 78 69 74 20 6d |MPTY the|n exit m|
|00000f50| 61 6b 65 47 72 6f 75 70 | 42 6f 78 0a 20 20 20 70 |akeGroup|Box. p|
|00000f60| 75 74 20 69 74 20 69 6e | 74 6f 20 74 68 65 42 6f |ut it in|to theBo|
|00000f70| 78 4e 61 6d 65 0a 20 20 | 20 0a 20 20 20 64 6f 6d |xName. | . dom|
|00000f80| 65 6e 75 20 22 6e 65 77 | 20 66 69 65 6c 64 22 0a |enu "new| field".|
|00000f90| 20 20 20 73 65 74 20 74 | 68 65 20 6e 61 6d 65 20 | set t|he name |
|00000fa0| 6f 66 20 74 68 65 20 6c | 61 73 74 20 66 69 65 6c |of the l|ast fiel|
|00000fb0| 64 20 6f 66 20 74 68 69 | 73 20 70 61 67 65 20 74 |d of thi|s page t|
|00000fc0| 6f 20 74 68 65 42 6f 78 | 4e 61 6d 65 0a 20 20 20 |o theBox|Name. |
|00000fd0| 73 65 74 20 74 68 65 20 | 73 74 79 6c 65 20 6f 66 |set the |style of|
|00000fe0| 20 66 69 65 6c 64 20 74 | 68 65 42 6f 78 4e 61 6d | field t|heBoxNam|
|00000ff0| 65 20 74 6f 20 67 72 6f | 6f 76 65 0a 20 20 20 73 |e to gro|ove. s|
|00001000| 65 74 20 74 68 65 20 65 | 64 69 74 61 62 6c 65 20 |et the e|ditable |
|00001010| 6f 66 20 66 69 65 6c 64 | 20 74 68 65 42 6f 78 4e |of field| theBoxN|
|00001020| 61 6d 65 20 74 6f 20 46 | 41 4c 53 45 0a 20 20 20 |ame to F|ALSE. |
|00001030| 73 65 74 20 74 68 65 20 | 73 65 6c 65 63 74 61 62 |set the |selectab|
|00001040| 6c 65 20 6f 66 20 66 69 | 65 6c 64 20 74 68 65 42 |le of fi|eld theB|
|00001050| 6f 78 4e 61 6d 65 20 74 | 6f 20 46 41 4c 53 45 0a |oxName t|o FALSE.|
|00001060| 20 20 20 0a 20 20 20 64 | 6f 6d 65 6e 75 20 22 6e | . d|omenu "n|
|00001070| 65 77 20 62 75 74 74 6f | 6e 22 0a 20 20 20 73 65 |ew butto|n". se|
|00001080| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |t the na|me of th|
|00001090| 65 20 6c 61 73 74 20 62 | 75 74 74 6f 6e 20 6f 66 |e last b|utton of|
|000010a0| 20 74 68 69 73 20 70 61 | 67 65 20 74 6f 20 74 68 | this pa|ge to th|
|000010b0| 65 42 6f 78 4e 61 6d 65 | 0a 20 20 20 73 65 74 20 |eBoxName|. set |
|000010c0| 74 68 65 20 73 63 72 69 | 70 74 20 6f 66 20 62 75 |the scri|pt of bu|
|000010d0| 74 74 6f 6e 20 74 68 65 | 42 6f 78 4e 61 6d 65 20 |tton the|BoxName |
|000010e0| 74 6f 20 45 4d 50 54 59 | 0a 20 20 20 73 65 74 20 |to EMPTY|. set |
|000010f0| 74 68 65 20 73 74 79 6c | 65 20 6f 66 20 62 75 74 |the styl|e of but|
|00001100| 74 6f 6e 20 74 68 65 42 | 6f 78 4e 61 6d 65 20 74 |ton theB|oxName t|
|00001110| 6f 20 34 0a 20 20 20 73 | 65 74 20 74 68 65 20 73 |o 4. s|et the s|
|00001120| 68 6f 77 4e 61 6d 65 20 | 6f 66 20 62 75 74 74 6f |howName |of butto|
|00001130| 6e 20 74 68 65 42 6f 78 | 4e 61 6d 65 20 74 6f 20 |n theBox|Name to |
|00001140| 54 52 55 45 0a 20 20 20 | 73 65 74 20 74 68 65 20 |TRUE. |set the |
|00001150| 62 6f 72 64 65 72 53 74 | 79 6c 65 20 6f 66 20 62 |borderSt|yle of b|
|00001160| 75 74 74 6f 6e 20 74 68 | 65 42 6f 78 4e 61 6d 65 |utton th|eBoxName|
|00001170| 20 74 6f 20 33 0a 20 20 | 20 73 65 74 20 74 68 65 | to 3. | set the|
|00001180| 20 68 65 69 67 68 74 20 | 6f 66 20 62 75 74 74 6f | height |of butto|
|00001190| 6e 20 74 68 65 42 6f 78 | 4e 61 6d 65 20 74 6f 20 |n theBox|Name to |
|000011a0| 31 39 0a 20 20 20 0a 20 | 20 20 73 65 74 20 72 65 |19. . | set re|
|000011b0| 63 74 20 6f 66 20 66 69 | 65 6c 64 20 74 68 65 42 |ct of fi|eld theB|
|000011c0| 6f 78 4e 61 6d 65 20 74 | 6f 20 32 30 30 2c 32 30 |oxName t|o 200,20|
|000011d0| 30 2c 33 30 30 2c 33 30 | 30 0a 20 20 20 73 65 74 |0,300,30|0. set|
|000011e0| 20 6c 6f 63 61 74 69 6f | 6e 20 6f 66 20 62 75 74 | locatio|n of but|
|000011f0| 74 6f 6e 20 74 68 65 42 | 6f 78 4e 61 6d 65 20 74 |ton theB|oxName t|
|00001200| 6f 20 32 35 30 2c 32 30 | 30 0a 20 20 20 0a 65 6e |o 250,20|0. .en|
|00001210| 64 20 6d 61 6b 65 47 72 | 6f 75 70 42 6f 78 0a 0a |d makeGr|oupBox..|
|00001220| 0a 66 75 6e 63 74 69 6f | 6e 20 6e 65 77 4d 61 74 |.functio|n newMat|
|00001230| 72 69 78 4f 66 42 75 74 | 74 6f 6e 73 0a 20 20 20 |rixOfBut|tons. |
|00001240| 0a 20 20 20 70 75 74 20 | 74 68 65 20 73 68 6f 72 |. put |the shor|
|00001250| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 74 61 |t name o|f the ta|
|00001260| 72 67 65 74 20 69 6e 74 | 6f 20 6c 61 79 65 72 4e |rget int|o layerN|
|00001270| 61 6d 65 0a 20 20 20 0a | 20 20 20 61 6e 73 77 65 |ame. .| answe|
|00001280| 72 20 22 43 6c 69 63 6b | 20 61 74 20 74 68 65 20 |r "Click| at the |
|00001290| 6c 6f 63 61 74 69 6f 6e | 20 79 6f 75 20 77 69 73 |location| you wis|
|000012a0| 68 20 74 6f 20 63 72 65 | 61 74 65 20 74 68 65 20 |h to cre|ate the |
|000012b0| 6d 61 74 72 69 78 22 0a | 20 20 20 72 65 70 65 61 |matrix".| repea|
|000012c0| 74 20 75 6e 74 69 6c 20 | 74 68 65 20 6d 6f 75 73 |t until |the mous|
|000012d0| 65 20 69 73 20 44 4f 57 | 4e 20 20 20 2d 2d 20 77 |e is DOW|N -- w|
|000012e0| 61 69 74 20 75 6e 74 69 | 6c 20 6d 6f 75 73 65 20 |ait unti|l mouse |
|000012f0| 69 73 20 44 4f 57 4e 20 | 69 73 20 62 72 6f 6b 65 |is DOWN |is broke|
|00001300| 6e 0a 20 20 20 65 6e 64 | 20 72 65 70 65 61 74 0a |n. end| repeat.|
|00001310| 20 20 20 70 75 74 20 6d | 6f 75 73 65 4c 6f 63 28 | put m|ouseLoc(|
|00001320| 29 20 69 6e 74 6f 20 74 | 6f 70 52 69 67 68 74 4f |) into t|opRightO|
|00001330| 66 4d 61 74 72 69 78 0a | 20 20 20 0a 20 20 20 61 |fMatrix.| . a|
|00001340| 73 6b 20 22 50 6c 65 61 | 73 65 20 65 6e 74 65 72 |sk "Plea|se enter|
|00001350| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00001360| 20 70 72 6f 74 6f 74 79 | 70 65 20 62 75 74 74 6f | prototy|pe butto|
|00001370| 6e 22 20 77 69 74 68 20 | 22 70 72 6f 74 6f 22 0a |n" with |"proto".|
|00001380| 20 20 20 70 75 74 20 69 | 74 20 69 6e 74 6f 20 70 | put i|t into p|
|00001390| 74 62 4e 61 6d 65 0a 20 | 20 20 0a 20 20 20 61 73 |tbName. | . as|
|000013a0| 6b 20 22 50 6c 65 61 73 | 65 20 65 6e 74 65 72 20 |k "Pleas|e enter |
|000013b0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 72 6f |the numb|er of ro|
|000013c0| 77 73 20 66 6f 72 20 74 | 68 65 20 6d 61 74 72 69 |ws for t|he matri|
|000013d0| 78 22 20 77 69 74 68 20 | 33 0a 20 20 20 70 75 74 |x" with |3. put|
|000013e0| 20 69 74 20 69 6e 74 6f | 20 6e 75 6d 4f 66 52 6f | it into| numOfRo|
|000013f0| 77 73 0a 20 20 20 0a 20 | 20 20 61 73 6b 20 22 50 |ws. . | ask "P|
|00001400| 6c 65 61 73 65 20 65 6e | 74 65 72 20 74 68 65 20 |lease en|ter the |
|00001410| 6e 75 6d 62 65 72 20 6f | 66 20 63 6f 6c 75 6d 6e |number o|f column|
|00001420| 73 20 66 6f 72 20 74 68 | 65 20 6d 61 74 72 69 78 |s for th|e matrix|
|00001430| 22 20 77 69 74 68 20 33 | 0a 20 20 20 70 75 74 20 |" with 3|. put |
|00001440| 69 74 20 69 6e 74 6f 20 | 6e 75 6d 4f 66 43 6f 6c |it into |numOfCol|
|00001450| 75 6d 6e 73 0a 20 20 20 | 0a 20 20 20 70 75 74 20 |umns. |. put |
|00001460| 22 22 20 69 6e 74 6f 20 | 62 75 74 74 6f 6e 4d 61 |"" into |buttonMa|
|00001470| 74 72 69 78 4e 61 6d 65 | 41 72 72 61 79 44 65 66 |trixName|ArrayDef|
|00001480| 61 75 6c 74 0a 20 20 20 | 72 65 70 65 61 74 20 77 |ault. |repeat w|
|00001490| 69 74 68 20 6e 20 3d 20 | 31 20 74 6f 20 28 20 6e |ith n = |1 to ( n|
|000014a0| 75 6d 4f 66 52 6f 77 73 | 20 2a 20 6e 75 6d 4f 66 |umOfRows| * numOf|
|000014b0| 43 6f 6c 75 6d 6e 73 20 | 29 0a 20 20 20 20 20 20 |Columns |). |
|000014c0| 70 75 74 20 22 61 22 20 | 26 20 6e 20 26 20 22 2c |put "a" |& n & ",|
|000014d0| 22 20 61 66 74 65 72 20 | 62 75 74 74 6f 6e 4d 61 |" after |buttonMa|
|000014e0| 74 72 69 78 4e 61 6d 65 | 41 72 72 61 79 44 65 66 |trixName|ArrayDef|
|000014f0| 61 75 6c 74 0a 20 20 20 | 65 6e 64 20 72 65 70 65 |ault. |end repe|
|00001500| 61 74 0a 20 20 20 64 65 | 6c 65 74 65 20 6c 61 73 |at. de|lete las|
|00001510| 74 20 63 68 61 72 20 6f | 66 20 62 75 74 74 6f 6e |t char o|f button|
|00001520| 4d 61 74 72 69 78 4e 61 | 6d 65 41 72 72 61 79 44 |MatrixNa|meArrayD|
|00001530| 65 66 61 75 6c 74 0a 20 | 20 20 61 73 6b 20 22 50 |efault. | ask "P|
|00001540| 6c 65 61 73 65 20 65 6e | 74 65 72 20 61 20 63 6f |lease en|ter a co|
|00001550| 6d 6d 61 20 73 65 70 65 | 72 61 74 65 64 20 6c 69 |mma sepe|rated li|
|00001560| 73 74 20 6f 66 20 6e 61 | 6d 65 73 20 66 6f 72 20 |st of na|mes for |
|00001570| 74 68 65 20 6d 61 74 72 | 69 78 20 62 75 74 74 6f |the matr|ix butto|
|00001580| 6e 73 22 20 77 69 74 68 | 20 62 75 74 74 6f 6e 4d |ns" with| buttonM|
|00001590| 61 74 72 69 78 4e 61 6d | 65 41 72 72 61 79 44 65 |atrixNam|eArrayDe|
|000015a0| 66 61 75 6c 74 0a 20 20 | 20 70 75 74 20 69 74 20 |fault. | put it |
|000015b0| 69 6e 74 6f 20 6d 61 74 | 72 69 78 4e 61 6d 65 41 |into mat|rixNameA|
|000015c0| 72 72 61 79 0a 20 20 20 | 0a 20 20 20 61 73 6b 20 |rray. |. ask |
|000015d0| 22 50 6c 65 61 73 65 20 | 65 6e 74 65 72 20 74 68 |"Please |enter th|
|000015e0| 65 20 49 6e 74 65 72 43 | 65 6c 6c 20 73 70 61 63 |e InterC|ell spac|
|000015f0| 65 20 76 61 6c 75 65 22 | 20 77 69 74 68 20 22 32 |e value"| with "2|
|00001600| 22 0a 20 20 20 70 75 74 | 20 69 74 20 69 6e 74 6f |". put| it into|
|00001610| 20 6d 61 74 72 69 78 49 | 6e 74 65 72 43 65 6c 6c | matrixI|nterCell|
|00001620| 56 61 6c 75 65 0a 20 20 | 20 0a 20 20 20 70 75 74 |Value. | . put|
|00001630| 20 28 20 74 68 65 20 77 | 69 64 74 68 20 6f 66 20 | ( the w|idth of |
|00001640| 62 75 74 74 6f 6e 20 70 | 74 62 4e 61 6d 65 20 6f |button p|tbName o|
|00001650| 66 20 6c 61 79 65 72 20 | 6c 61 79 65 72 4e 61 6d |f layer |layerNam|
|00001660| 65 20 29 20 26 20 22 2c | 22 20 26 20 28 20 74 68 |e ) & ",|" & ( th|
|00001670| 65 20 68 65 69 67 68 74 | 20 6f 66 20 62 75 74 74 |e height| of butt|
|00001680| 6f 6e 20 70 74 62 4e 61 | 6d 65 20 6f 66 20 6c 61 |on ptbNa|me of la|
|00001690| 79 65 72 20 6c 61 79 65 | 72 4e 61 6d 65 20 29 20 |yer laye|rName ) |
|000016a0| 69 6e 74 6f 20 70 74 62 | 53 69 7a 65 0a 20 20 20 |into ptb|Size. |
|000016b0| 69 66 20 28 20 6e 75 6d | 4f 66 52 6f 77 73 20 3c |if ( num|OfRows <|
|000016c0| 20 31 20 29 20 4f 52 20 | 28 20 6e 75 6d 4f 66 43 | 1 ) OR |( numOfC|
|000016d0| 6f 6c 75 6d 6e 73 20 3c | 20 31 20 29 20 74 68 65 |olumns <| 1 ) the|
|000016e0| 6e 20 65 78 69 74 20 6e | 65 77 4d 61 74 72 69 78 |n exit n|ewMatrix|
|000016f0| 4f 66 42 75 74 74 6f 6e | 73 0a 20 20 20 69 66 20 |OfButton|s. if |
|00001700| 6d 61 74 72 69 78 49 6e | 74 65 72 43 65 6c 6c 56 |matrixIn|terCellV|
|00001710| 61 6c 75 65 20 3d 20 45 | 4d 50 54 59 20 74 68 65 |alue = E|MPTY the|
|00001720| 6e 20 70 75 74 20 31 20 | 69 6e 74 6f 20 6d 61 74 |n put 1 |into mat|
|00001730| 72 69 78 49 6e 74 65 72 | 43 65 6c 6c 56 61 6c 75 |rixInter|CellValu|
|00001740| 65 0a 20 20 20 0a 20 20 | 20 70 75 74 20 30 20 69 |e. . | put 0 i|
|00001750| 6e 74 6f 20 6e 61 6d 65 | 49 6e 64 65 78 0a 20 20 |nto name|Index. |
|00001760| 20 68 69 64 65 20 6d 65 | 73 73 61 67 65 20 62 6f | hide me|ssage bo|
|00001770| 78 0a 20 20 20 0a 20 20 | 20 72 65 70 65 61 74 20 |x. . | repeat |
|00001780| 77 69 74 68 20 72 6f 77 | 20 3d 20 30 20 74 6f 20 |with row| = 0 to |
|00001790| 6e 75 6d 4f 66 52 6f 77 | 73 20 2d 31 0a 20 20 20 |numOfRow|s -1. |
|000017a0| 20 20 20 70 75 74 20 74 | 6f 70 52 69 67 68 74 4f | put t|opRightO|
|000017b0| 66 4d 61 74 72 69 78 20 | 69 6e 74 6f 20 63 75 72 |fMatrix |into cur|
|000017c0| 72 65 6e 74 42 75 74 74 | 6f 6e 4c 6f 63 0a 20 20 |rentButt|onLoc. |
|000017d0| 20 20 20 20 61 64 64 20 | 28 20 28 20 69 74 65 6d | add |( ( item|
|000017e0| 20 32 20 6f 66 20 70 74 | 62 53 69 7a 65 20 2b 20 | 2 of pt|bSize + |
|000017f0| 6d 61 74 72 69 78 49 6e | 74 65 72 43 65 6c 6c 56 |matrixIn|terCellV|
|00001800| 61 6c 75 65 20 29 20 2a | 20 72 6f 77 20 29 20 74 |alue ) *| row ) t|
|00001810| 6f 20 69 74 65 6d 20 32 | 20 6f 66 20 63 75 72 72 |o item 2| of curr|
|00001820| 65 6e 74 42 75 74 74 6f | 6e 4c 6f 63 0a 20 20 20 |entButto|nLoc. |
|00001830| 20 20 20 72 65 70 65 61 | 74 20 77 69 74 68 20 63 | repea|t with c|
|00001840| 6f 6c 75 6d 6e 20 3d 20 | 30 20 74 6f 20 6e 75 6d |olumn = |0 to num|
|00001850| 4f 66 43 6f 6c 75 6d 6e | 73 20 2d 20 31 0a 20 20 |OfColumn|s - 1. |
|00001860| 20 20 20 20 20 20 20 73 | 65 6c 65 63 74 20 62 75 | s|elect bu|
|00001870| 74 74 6f 6e 20 70 74 62 | 4e 61 6d 65 20 6f 66 20 |tton ptb|Name of |
|00001880| 6c 61 79 65 72 20 6c 61 | 79 65 72 4e 61 6d 65 0a |layer la|yerName.|
|00001890| 20 20 20 20 20 20 20 20 | 20 64 6f 6d 65 6e 75 20 | | domenu |
|000018a0| 22 43 6f 70 79 22 0a 20 | 20 20 20 20 20 20 20 20 |"Copy". | |
|000018b0| 64 6f 6d 65 6e 75 20 22 | 50 61 73 74 65 22 0a 20 |domenu "|Paste". |
|000018c0| 20 20 20 20 20 20 20 20 | 61 64 64 20 6f 6e 65 20 | |add one |
|000018d0| 74 6f 20 6e 61 6d 65 49 | 6e 64 65 78 0a 20 20 20 |to nameI|ndex. |
|000018e0| 20 20 20 20 20 20 70 75 | 74 20 69 74 65 6d 20 6e | pu|t item n|
|000018f0| 61 6d 65 49 6e 64 65 78 | 20 6f 66 20 6d 61 74 72 |ameIndex| of matr|
|00001900| 69 78 4e 61 6d 65 41 72 | 72 61 79 20 69 6e 74 6f |ixNameAr|ray into|
|00001910| 20 63 75 72 72 65 6e 74 | 42 75 74 74 6f 6e 4e 61 | current|ButtonNa|
|00001920| 6d 65 0a 20 20 20 20 20 | 20 20 20 20 73 65 74 20 |me. | set |
|00001930| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|00001940| 6c 61 73 74 20 62 75 74 | 74 6f 6e 20 6f 66 20 6c |last but|ton of l|
|00001950| 61 79 65 72 20 6c 61 79 | 65 72 4e 61 6d 65 20 74 |ayer lay|erName t|
|00001960| 6f 20 63 75 72 72 65 6e | 74 42 75 74 74 6f 6e 4e |o curren|tButtonN|
|00001970| 61 6d 65 0a 20 20 20 20 | 20 20 20 20 20 61 64 64 |ame. | add|
|00001980| 20 20 28 20 69 74 65 6d | 20 31 20 6f 66 20 70 74 | ( item| 1 of pt|
|00001990| 62 53 69 7a 65 20 2b 20 | 6d 61 74 72 69 78 49 6e |bSize + |matrixIn|
|000019a0| 74 65 72 43 65 6c 6c 56 | 61 6c 75 65 20 29 20 74 |terCellV|alue ) t|
|000019b0| 6f 20 69 74 65 6d 20 31 | 20 6f 66 20 63 75 72 72 |o item 1| of curr|
|000019c0| 65 6e 74 42 75 74 74 6f | 6e 4c 6f 63 0a 20 20 20 |entButto|nLoc. |
|000019d0| 20 20 20 20 20 20 73 65 | 74 20 74 68 65 20 6c 6f | se|t the lo|
|000019e0| 63 61 74 69 6f 6e 20 6f | 66 20 62 75 74 74 6f 6e |cation o|f button|
|000019f0| 20 63 75 72 72 65 6e 74 | 42 75 74 74 6f 6e 4e 61 | current|ButtonNa|
|00001a00| 6d 65 20 6f 66 20 6c 61 | 79 65 72 20 6c 61 79 65 |me of la|yer laye|
|00001a10| 72 4e 61 6d 65 20 74 6f | 20 63 75 72 72 65 6e 74 |rName to| current|
|00001a20| 42 75 74 74 6f 6e 4c 6f | 63 0a 20 20 20 20 20 20 |ButtonLo|c. |
|00001a30| 65 6e 64 20 72 65 70 65 | 61 74 0a 20 20 20 65 6e |end repe|at. en|
|00001a40| 64 20 72 65 70 65 61 74 | 0a 20 20 20 0a 20 20 20 |d repeat|. . |
|00001a50| 73 68 6f 77 20 6d 65 73 | 73 61 67 65 20 62 6f 78 |show mes|sage box|
|00001a60| 0a 20 20 20 0a 65 6e 64 | 20 6e 65 77 4d 61 74 72 |. .end| newMatr|
|00001a70| 69 78 4f 66 42 75 74 74 | 6f 6e 73 0a 0a 0a 6f 6e |ixOfButt|ons...on|
|00001a80| 20 6d 61 74 72 69 78 48 | 61 6e 64 6c 65 72 20 20 | matrixH|andler |
|00001a90| 63 61 6c 6c 42 61 63 6b | 4e 61 6d 65 0a 20 20 20 |callBack|Name. |
|00001aa0| 0a 20 20 20 70 75 74 20 | 77 6f 72 64 20 35 20 6f |. put |word 5 o|
|00001ab0| 66 20 6c 6f 6e 67 20 6e | 61 6d 65 20 6f 66 20 74 |f long n|ame of t|
|00001ac0| 61 72 67 65 74 20 69 6e | 74 6f 20 6c 61 79 65 72 |arget in|to layer|
|00001ad0| 53 68 6f 72 74 4e 61 6d | 65 0a 20 20 20 70 75 74 |ShortNam|e. put|
|00001ae0| 20 45 4d 50 54 59 20 69 | 6e 74 6f 20 6c 61 73 74 | EMPTY i|nto last|
|00001af0| 20 63 68 61 72 20 6f 66 | 20 6c 61 79 65 72 53 68 | char of| layerSh|
|00001b00| 6f 72 74 4e 61 6d 65 0a | 20 20 20 70 75 74 20 45 |ortName.| put E|
|00001b10| 4d 50 54 59 20 69 6e 74 | 6f 20 66 69 72 73 74 20 |MPTY int|o first |
|00001b20| 63 68 61 72 20 6f 66 20 | 6c 61 79 65 72 53 68 6f |char of |layerSho|
|00001b30| 72 74 4e 61 6d 65 0a 20 | 20 20 0a 20 20 20 73 65 |rtName. | . se|
|00001b40| 74 20 68 69 6c 69 74 65 | 20 6f 66 20 74 61 72 67 |t hilite| of targ|
|00001b50| 65 74 20 74 6f 20 54 52 | 55 45 0a 20 20 20 73 65 |et to TR|UE. se|
|00001b60| 74 20 68 69 6c 69 74 65 | 20 6f 66 20 74 61 72 67 |t hilite| of targ|
|00001b70| 65 74 20 74 6f 20 28 6d | 6f 75 73 65 4c 6f 63 28 |et to (m|ouseLoc(|
|00001b80| 29 20 69 73 20 77 69 74 | 68 69 6e 20 74 68 65 20 |) is wit|hin the |
|00001b90| 72 65 63 74 61 6e 67 6c | 65 20 6f 66 20 74 61 72 |rectangl|e of tar|
|00001ba0| 67 65 74 20 29 20 0a 20 | 20 20 0a 20 20 20 72 65 |get ) . | . re|
|00001bb0| 70 65 61 74 20 75 6e 74 | 69 6c 20 74 68 65 20 6d |peat unt|il the m|
|00001bc0| 6f 75 73 65 20 69 73 20 | 55 50 0a 20 20 20 20 20 |ouse is |UP. |
|00001bd0| 20 72 65 70 65 61 74 20 | 77 69 74 68 20 6e 20 3d | repeat |with n =|
|00001be0| 31 20 74 6f 20 6e 75 6d | 62 65 72 20 6f 66 20 62 |1 to num|ber of b|
|00001bf0| 75 74 74 6f 6e 73 20 6f | 66 20 6c 61 79 65 72 20 |uttons o|f layer |
|00001c00| 6c 61 79 65 72 53 68 6f | 72 74 4e 61 6d 65 0a 20 |layerSho|rtName. |
|00001c10| 20 20 20 20 20 20 20 20 | 69 66 20 28 74 68 65 20 | |if (the |
|00001c20| 65 6e 61 62 6c 65 64 20 | 6f 66 20 62 75 74 74 6f |enabled |of butto|
|00001c30| 6e 20 6e 20 6f 66 20 6c | 61 79 65 72 20 6c 61 79 |n n of l|ayer lay|
|00001c40| 65 72 53 68 6f 72 74 4e | 61 6d 65 29 20 3d 20 54 |erShortN|ame) = T|
|00001c50| 52 55 45 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 |RUE then|. |
|00001c60| 20 20 20 20 20 69 66 20 | 6d 6f 75 73 65 4c 6f 63 | if |mouseLoc|
|00001c70| 28 29 20 69 73 20 77 69 | 74 68 69 6e 20 74 68 65 |() is wi|thin the|
|00001c80| 20 72 65 63 74 61 6e 67 | 6c 65 20 6f 66 20 62 75 | rectang|le of bu|
|00001c90| 74 74 6f 6e 20 6e 20 6f | 66 20 6c 61 79 65 72 20 |tton n o|f layer |
|00001ca0| 6c 61 79 65 72 53 68 6f | 72 74 4e 61 6d 65 20 74 |layerSho|rtName t|
|00001cb0| 68 65 6e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |hen. | |
|00001cc0| 20 20 20 73 65 74 20 68 | 69 6c 69 74 65 20 6f 66 | set h|ilite of|
|00001cd0| 20 62 75 74 74 6f 6e 20 | 6e 20 6f 66 20 6c 61 79 | button |n of lay|
|00001ce0| 65 72 20 6c 61 79 65 72 | 53 68 6f 72 74 4e 61 6d |er layer|ShortNam|
|00001cf0| 65 20 74 6f 20 54 52 55 | 45 0a 20 20 20 20 20 20 |e to TRU|E. |
|00001d00| 20 20 20 20 20 20 20 20 | 20 72 65 70 65 61 74 20 | | repeat |
|00001d10| 77 69 74 68 20 7a 20 3d | 20 31 20 74 6f 20 74 68 |with z =| 1 to th|
|00001d20| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 75 74 74 |e number| of butt|
|00001d30| 6f 6e 73 20 6f 66 20 6c | 61 79 65 72 20 6c 61 79 |ons of l|ayer lay|
|00001d40| 65 72 53 68 6f 72 74 4e | 61 6d 65 0a 20 20 20 20 |erShortN|ame. |
|00001d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|00001d60| 20 7a 20 3c 3e 20 6e 20 | 74 68 65 6e 20 73 65 74 | z <> n |then set|
|00001d70| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 75 74 74 6f | hilite |of butto|
|00001d80| 6e 20 7a 20 6f 66 20 6c | 61 79 65 72 20 6c 61 79 |n z of l|ayer lay|
|00001d90| 65 72 53 68 6f 72 74 4e | 61 6d 65 20 74 6f 20 46 |erShortN|ame to F|
|00001da0| 41 4c 53 45 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ALSE. | |
|00001db0| 20 20 20 20 65 6e 64 20 | 72 65 70 65 61 74 0a 20 | end |repeat. |
|00001dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 72 65 | | re|
|00001dd0| 70 65 61 74 20 75 6e 74 | 69 6c 20 74 68 65 20 6d |peat unt|il the m|
|00001de0| 6f 75 73 65 20 69 73 20 | 55 50 0a 20 20 20 20 20 |ouse is |UP. |
|00001df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 | | if |
|00001e00| 6d 6f 75 73 65 4c 6f 63 | 28 29 20 69 73 20 4e 4f |mouseLoc|() is NO|
|00001e10| 54 20 77 69 74 68 69 6e | 20 74 68 65 20 72 65 63 |T within| the rec|
|00001e20| 74 61 6e 67 6c 65 20 6f | 66 20 62 75 74 74 6f 6e |tangle o|f button|
|00001e30| 20 6e 20 6f 66 20 6c 61 | 79 65 72 20 6c 61 79 65 | n of la|yer laye|
|00001e40| 72 53 68 6f 72 74 4e 61 | 6d 65 20 74 68 65 6e 20 |rShortNa|me then |
|00001e50| 65 78 69 74 20 72 65 70 | 65 61 74 0a 20 20 20 20 |exit rep|eat. |
|00001e60| 20 20 20 20 20 20 20 20 | 20 20 20 65 6e 64 20 72 | | end r|
|00001e70| 65 70 65 61 74 0a 20 20 | 20 20 20 20 20 20 20 20 |epeat. | |
|00001e80| 20 20 20 20 20 69 66 20 | 74 68 65 20 6d 6f 75 73 | if |the mous|
|00001e90| 65 20 69 73 20 55 50 20 | 74 68 65 6e 20 65 78 69 |e is UP |then exi|
|00001ea0| 74 20 72 65 70 65 61 74 | 0a 20 20 20 20 20 20 20 |t repeat|. |
|00001eb0| 20 20 20 20 20 20 20 20 | 73 65 74 20 68 69 6c 69 | |set hili|
|00001ec0| 74 65 20 6f 66 20 62 75 | 74 74 6f 6e 20 6e 20 6f |te of bu|tton n o|
|00001ed0| 66 20 6c 61 79 65 72 20 | 6c 61 79 65 72 53 68 6f |f layer |layerSho|
|00001ee0| 72 74 4e 61 6d 65 20 74 | 6f 20 46 41 4c 53 45 0a |rtName t|o FALSE.|
|00001ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 6e 64 20 | | end |
|00001f00| 69 66 0a 20 20 20 20 20 | 20 20 20 20 65 6e 64 20 |if. | end |
|00001f10| 69 66 0a 20 20 20 20 20 | 20 65 6e 64 20 72 65 70 |if. | end rep|
|00001f20| 65 61 74 0a 20 20 20 20 | 20 20 69 66 20 74 68 65 |eat. | if the|
|00001f30| 20 6d 6f 75 73 65 20 69 | 73 20 55 50 20 74 68 65 | mouse i|s UP the|
|00001f40| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0a 20 20 |n exit r|epeat. |
|00001f50| 20 65 6e 64 20 72 65 70 | 65 61 74 0a 20 20 20 0a | end rep|eat. .|
|00001f60| 20 20 20 72 65 70 65 61 | 74 20 77 69 74 68 20 6e | repea|t with n|
|00001f70| 20 3d 20 31 20 74 6f 20 | 6e 75 6d 62 65 72 20 6f | = 1 to |number o|
|00001f80| 66 20 62 75 74 74 6f 6e | 73 20 6f 66 20 6c 61 79 |f button|s of lay|
|00001f90| 65 72 20 6c 61 79 65 72 | 53 68 6f 72 74 4e 61 6d |er layer|ShortNam|
|00001fa0| 65 0a 20 20 20 20 20 20 | 69 66 20 74 68 65 20 68 |e. |if the h|
|00001fb0| 69 6c 69 74 65 20 6f 66 | 20 62 75 74 74 6f 6e 20 |ilite of| button |
|00001fc0| 6e 20 6f 66 20 6c 61 79 | 65 72 20 6c 61 79 65 72 |n of lay|er layer|
|00001fd0| 53 68 6f 72 74 4e 61 6d | 65 20 74 68 65 6e 0a 20 |ShortNam|e then. |
|00001fe0| 20 20 20 20 20 20 20 20 | 73 65 74 20 68 69 6c 69 | |set hili|
|00001ff0| 74 65 20 6f 66 20 62 75 | 74 74 6f 6e 20 6e 20 6f |te of bu|tton n o|
|00002000| 66 20 6c 61 79 65 72 20 | 6c 61 79 65 72 53 68 6f |f layer |layerSho|
|00002010| 72 74 4e 61 6d 65 20 74 | 6f 20 46 41 4c 53 45 0a |rtName t|o FALSE.|
|00002020| 20 20 20 20 20 20 20 20 | 20 73 65 6e 64 20 63 61 | | send ca|
|00002030| 6c 6c 42 61 63 6b 4e 61 | 6d 65 20 74 6f 20 62 75 |llBackNa|me to bu|
|00002040| 74 74 6f 6e 20 6e 20 6f | 66 20 6c 61 79 65 72 20 |tton n o|f layer |
|00002050| 6c 61 79 65 72 53 68 6f | 72 74 4e 61 6d 65 0a 20 |layerSho|rtName. |
|00002060| 20 20 20 20 20 65 6e 64 | 20 69 66 0a 20 20 20 65 | end| if. e|
|00002070| 6e 64 20 72 65 70 65 61 | 74 0a 20 20 20 0a 65 6e |nd repea|t. .en|
|00002080| 64 20 6d 61 74 72 69 78 | 48 61 6e 64 6c 65 72 0a |d matrix|Handler.|
|00002090| 00 86 74 0a 20 20 20 0a | 65 6e 64 20 6d 61 74 72 |..t. .|end matr|
|000020a0| 69 78 48 61 6e 64 6c 65 | 72 0a 00 86 22 59 6f 75 |ixHandle|r..."You|
|000020b0| 20 63 6c 69 63 6b 65 64 | 20 74 68 65 20 62 75 74 | clicked| the but|
|000020c0| 74 6f 6e 20 22 20 26 20 | 73 68 6f 72 74 20 6e 61 |ton " & |short na|
|000020d0| 6d 65 20 6f 66 20 74 61 | 72 67 65 74 0a 0a 65 6e |me of ta|rget..en|
|000020e0| 64 20 6d 79 43 61 6c 6c | 42 61 63 6b 52 6f 75 74 |d myCall|BackRout|
|000020f0| 69 6e 65 0a 20 20 20 0a | 20 20 20 0a 00 86 |ine. .| ... |
+--------+-------------------------+-------------------------+--------+--------+